package cn.iocoder.yudao.module.system.controller.admin.partnerstore.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 合伙人管理店铺分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PartnerStorePageReqVO extends PageParam {

    @Schema(description = "关联店铺id", example = "28933")
    private Long storeId;

    @Schema(description = "关联合伙人id", example = "28933")
    private Long partnerId;

    @Schema(description = "合伙人成本(元)")
    private BigDecimal partnerCost;

    @Schema(description = "合伙人类型：1-LP发起人；2-LP合伙人；", example = "2")
    private Integer partnerType;

    @Schema(description = "回本前分润比例%")
    private BigDecimal paybackBeforeProfitRate;

    @Schema(description = "回本后分润比例%")
    private BigDecimal paybackAfterProfitRate;

    @Schema(description = "分润开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] shareProfitStartDate;

    @Schema(description = "分润结束日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] shareProfitEndDate;

    @Schema(description = "推荐人类型：1-LP发起人；", example = "1")
    private Integer referrerType;

    @Schema(description = "推荐人分润比例")
    private BigDecimal referrerProfitRate;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}